export default {
  addStudentAsyn(context, payload) {
    return new Promise((resolve, reject) => {
      setTimeout(() => {
        context.commit('addStudent', payload);
        resolve(payload);
      }, 3000);
    });
  }
}
